﻿@model IEnumerable<NewRen.Models.Job>
@{
    ViewBag.Title = "工作";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>基础管理</h2>
        <ol class="breadcrumb">
            <li>
                <a href="index.html">后台管理</a>
            </li>
            <li>
                <a>基础管理</a>
            </li>
            <li>
                <a>工作管理</a>
            </li>
        </ol>
    </div>
</div>


<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>工作列表 <small><a href="/Admin/Foundation/AddJob">增加</a></small></h5>
                </div>
                <div class="ibox-content">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>编号</th>
                                <th>工作</th>
                            </tr>
                        </thead>
                        <tbody>
                            @foreach (var item in Model)
                            {
                                <tr id="@item.ID">
                                    <td>@item.ID</td>
                                    <td>@item.JobName</td>
                                    <td>
                                        <a href="javascript:deleteDialog('/Admin/Foundation/JobDelete/@item.ID?sid=@ViewBag.SID',@item.ID);">删除</a>
                                        <a href="/Admin/Foundation/JobEdit/@item.ID">编辑</a>
                                    </td>
                                </tr>
                            }
                        </tbody>
                    </table>
                    @Html.MakePager()
                </div>
            </div>
        </div>
    </div>
</div>

